﻿using WMS.FC.Domain.PersistenceObject.Business;

namespace WMS.FC.Domain.Repository
{
    public interface IEquipmentRepository : IRepositoryBase
    {
        /// <summary>
        /// 获取设备
        /// </summary>
        /// <param name="lineCode"></param>
        /// <param name="equipmentCode"></param>
        /// <returns></returns>
        Task<EquipmentPO?> GetEquipment(string lineCode, string equipmentCode);

        /// <summary>
        /// 获取可用堆垛机列表
        /// </summary>
        /// <param name="lineCode"></param>
        /// <param name="zoneCode"></param>
        /// <returns></returns>
        Task<List<EquipmentPO>> GetScList(string lineCode, string zoneCode);
    }
}
